package com.ljx.itbbs.server.article.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ljx.itbbs.server.article.domain.entity.CommentEntity;
import com.ljx.itbbs.server.article.domain.vo.req.ArticleCommentReq;
import com.ljx.itbbs.server.article.domain.vo.resp.CommentResp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CommentMapper extends BaseMapper<CommentEntity> {

    List<CommentResp> getCommentPage(@Param("req") ArticleCommentReq req);


}